home *** CD-ROM | disk | FTP | other *** search
/ PC Media 7 / PC MEDIA CD07.iso / share / uwin / cassette / makefile < prev    next >
Encoding:
Makefile  |  1994-06-29  |  1.4 KB  |  62 lines

  1. # makefile script.
  2. # Fill in the names to complete. 
  3.  
  4. #NMAKEFILE is the name of the nmake file that 
  5. # VC++ Uses. 
  6. NMAKEFILE=cassette.mak
  7.  
  8. #IFILES is the list of include files. 
  9. #IDIR is the include install directory 
  10. IFILES= 
  11. IDIR=../inc 
  12.  
  13. #LFILES, LDIR work the same: 
  14. LFILES= 
  15. LDIR=../lib 
  16.  
  17. #BFILES, BDIR work the same: 
  18. BFILES= cassette.exe cassette.hlp
  19. BDIR=../bin 
  20.  
  21. all: bdp 
  22.  
  23. cassette.exe:
  24.     $(DPCMD) $(NMAKEFILE) 
  25.  
  26. cassette.hlp: cassette.hpj resource.h hlp/afxcore.rtf hlp/afxprint.rtf hlp/appexit.bmp hlp/bullet.bmp hlp/curarw2.bmp hlp/curarw4.bmp hlp/curhelp.bmp hlp/editcopy.bmp hlp/editcut.bmp hlp/editpast.bmp hlp/editundo.bmp hlp/filenew.bmp hlp/fileopen.bmp hlp/fileprnt.bmp hlp/filesave.bmp hlp/hlpsbar.bmp hlp/hlptbar.bmp hlp/scmax.bmp hlp/scmenu.bmp hlp/scmin.bmp 
  27.     makehm ID_,HID_,0x10000 IDM_,HIDM_,0x10000 resource.h >hlp/cassette.hm
  28.     makehm IDP_,HIDP_,0x30000 resource.h >>hlp/cassette.hm
  29.     makehm IDR_,HIDR_,0x20000 resource.h >>hlp/cassette.hm
  30.     makehm IDD_,HIDD_,0x20000 resource.h >>hlp/cassette.hm
  31.     makehm IDW_,HIDW_,0x50000 resource.h >>hlp/cassette.hm
  32.     hc31 cassette.hpj
  33.  
  34.  
  35. dp: cassette.exe cassette.hlp
  36.  
  37.  
  38. #Remove an installed BDP: 
  39. r_bdp: 
  40.     [ 
  41.     dir=$(BDIR) 
  42.     files="$(BFILES)"
  43.     $(RCMD) 
  44.     ] 
  45.  
  46. # install an bdp: 
  47. bdp: dp r_bdp 
  48.     [ 
  49.     dir=$(BDIR) 
  50.     files="$(BFILES)" 
  51.     $(ICMD) 
  52.     ] 
  53.  
  54. # Commands to clean up 
  55. clean:  
  56.     $(CLEANCMD) 
  57.  
  58. clean-all: clean 
  59.     $(CLNALLCMD)  
  60.  
  61.